@extends('layouts.backend')
@section('title')
    添加会员
@endsection

@section('body')
    <div class="row">
        <div class="ibox">
            <div class="ibox-title">
                <h5>添加会员</h5>
                <a href="{{route('backend.member.index')}}" class="btn btn-primary pull-right">返回列表</a>
                <div class="clearfix"></div>
            </div>
            <div class="ibox-content">

                <div class="row m-sm">
                    <div class="col-md-8">
                        <form action="" method="post">
                            @csrf
                            <div class="form-group">
                                <label>昵称 @include('components.backend.required')</label>
                                <input type="text" name="name" class="form-control" placeholder="请输入昵称" required>
                            </div>
                            <div class="form-group">
                                <label>手机号 @include('components.backend.required')</label>
                                <input type="text" name="mobile" class="form-control" placeholder="请输入手机号" required>
                            </div>
                            <div class="form-group">
                                <label>邮箱 @include('components.backend.required')</label>
                                <input type="text" name="email" class="form-control" placeholder="请输入邮箱" required>
                            </div>
                            <div class="form-group">
                                <label>密码 @include('components.backend.required')</label>
                                <input type="text" name="password" class="form-control" placeholder="请输入密码" required>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <button class="btn btn-primary" type="submit">创建</button>
                            </div>
                        </form>
                    </div>
                </div>

            </div>
        </div>
    </div>
@endsection
